#ifndef WELDSYSTEMDIALOG_H
#define WELDSYSTEMDIALOG_H

#include <QDialog>
#include "../CommunicateDelegate/communicatenormaldelegate.h"

namespace Ui {
class WeldSystemDialog;
}

class WeldSystemDialog : public QDialog
{
    Q_OBJECT

public:
    explicit WeldSystemDialog(int styleId,CommunicateNormalDelegate *communicateNormalIn,QWidget *parent = 0);
    ~WeldSystemDialog();
    void initialDisplayStyle(int styleId);
signals:

    /**
     * @brief showErrorMsgBox 显示信息弹窗内容
     * @param msg
     */
    void showErrorMsgBox(QString msg);

public slots:
    void showView_slot();

private slots:
    void on_returnBtn_clicked();

    void on_saveBtn_clicked();

private:
    Ui::WeldSystemDialog *ui;
    CommunicateNormalDelegate *communicateNormalDelegate;
    WeldSystemInfo weldSystemInfo;
};

#endif // WELDSYSTEMDIALOG_H
